import Mock from 'mockjs'
import { ApiOfGraphPage } from '#/utils/graphApiDefine'

const data = Mock.mock(RegExp(ApiOfGraphPage + ".*"),'get', {
	'status': 'success',
	'data|10': [{
		'id': '@increment',
		'name': '@ctitle(5)',
		'created_at': '@datetime'
	}],
	'pageable': {
		first: true,
		fromNumber: 1,
		last: false,
		number: 0,
		numberOfElements: 10,
		size: 10,
		toNumber: 10,
		totalElements: 30,
		totalPages: 3,
	}
})
